<?php
$this->pageTitle=Yii::app()->name . ' - Result ';
$this->breadcrumbs=array(
	'Contact',
);
?>
<?php 
print_r("passou2");
//$listemotion = Yii::app()->session['listemotion']);

//print_r($listemotion);
//exit;
?>
<h1>Result hight</h1>
<?php 
$this->Widget('application.extensions.highcharts.HighchartsWidget', array(
   'options'=>array(
      'title' => array('text' => 'Fruit Consumption'),
      'xAxis' => array(
         'categories' => array('Apples', 'Bananas', 'Oranges')
      ),
      'yAxis' => array(
         'title' => array('text' => 'Fruit eaten')
      ),
   		'chart' => array(
   				'type' => array('arearange')
   				),
      'series' => array(
         array('name' => 'Jane', 'data' => array(1, 0, 4)),
         array('name' => 'John', 'data' => array(5, 7, 3))
      )
   )
)); 
?>

<h1>Result Cvisual</h1>
<?php 
$this->widget('application.extensions.cvisualizewidget.CVisualizeWidget',array(
    'data'=>array(
        'headings'=>array(
            'January',
            'February',
            'March',
            'April',
            'May',
            'June',
            'July',
            'August',
            'September',
            'October',
            'November',
            'December'
        ),
        'data'=>array(
            'Hits' => array(4,8,25,56,23,78),
            'Visits' => array(2,6,3,14,56,78),
            'Downloads'=>array(12,4,15,99,4.99)
        )
    ),
    'options' => array(
        'title'=>'Sample Data',
        'width'=>700,
        'height'=>250
    )
));
?>

<h1>Result Chartjs</h1>
<?php 
        $this->widget(
            'application.extensions.widgets.ChRadar', 
            array(
                'width' => 600,
                'height' => 300,
                'htmlOptions' => array(),
                'labels' => array("January","February","March","April", "May"),
                'datasets' => array(
                    array(
                        "fillColor" => "rgba(220,220,220,0.5)",
                        "strokeColor" => "rgba(220,220,220,1)",
                        "pointColor" => "rgba(220,220,220,1)",
                        "pointStrokeColor" => "#ffffff",
                        "data" => array(5, 15, 50, 25, 35)
                    ),
                    array(
                        "fillColor" => "rgba(220,220,220,0.5)",
                        "strokeColor" => "rgba(220,220,220,1)",
                        "pointColor" => "rgba(220,220,220,1)",
                        "pointStrokeColor" => "#ffffff",
                        "data" => array(55, 50, 45, 30, 20)
                    )      
                ),
                'options' => array()
            )
        ); 
    ?>